package com.lhd.egweibo3.mapper;

import com.lhd.egweibo3.pojo.entity.Weibo;
import com.lhd.egweibo3.pojo.vo.WeiboIndexVO;

import java.util.List;

/**
 * @author lhd
 * @date 2024/4/25
 * @apiNote
 */
public interface WeiboMapper {
    void insert(Weibo weibo);

    List<WeiboIndexVO> selectIndex();

    WeiboIndexVO selectById(Long id);
}
